package com.ruoyi.manage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预订信息对象 wdm_reserve_main
 * 
 * @author ruoyi
 * @date 2025-05-08
 */
public class ReserveMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预订ID */
    private Long reserveId;

    /** 顾客ID */
    @Excel(name = "顾客ID")
    private Long customerId;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalAmount;

    /** 预订状态 */
    @Excel(name = "预订状态")
    private String reserveStatus;

    /** 订单类型（1=酒店预订 2=节日商品） */
    @Excel(name = "订单类型", readConverterExp = "1==酒店预订,2==节日商品")
    private Long businessAreaType;

    /** 状态（0正常 1禁用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=禁用")
    private String status;

    /** 删除标志（0存在 2删除） */
    @Excel(name = "删除标志", readConverterExp = "0=存在,2=删除")
    private String delFlag;

    /** 版本号（乐观锁） */
    @Excel(name = "版本号", readConverterExp = "乐=观锁")
    private Long version;

    public void setReserveId(Long reserveId) 
    {
        this.reserveId = reserveId;
    }

    public Long getReserveId() 
    {
        return reserveId;
    }

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }

    public void setReserveStatus(String reserveStatus) 
    {
        this.reserveStatus = reserveStatus;
    }

    public String getReserveStatus() 
    {
        return reserveStatus;
    }

    public void setBusinessAreaType(Long businessAreaType) 
    {
        this.businessAreaType = businessAreaType;
    }

    public Long getBusinessAreaType() 
    {
        return businessAreaType;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reserveId", getReserveId())
            .append("customerId", getCustomerId())
            .append("totalAmount", getTotalAmount())
            .append("reserveStatus", getReserveStatus())
            .append("businessAreaType", getBusinessAreaType())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
